package com.homework.ch01;

/**
 * @author yang
 * @date 2024-03-26
 */
public class TestStudent01 {
    private String name;
    private int age;
    private Double weight;

    public TestStudent01(String name, int age, Double weight) {
        this.name = name;
        this.age = age;
        this.weight = weight;
    }
    public void show(){
        System.out.println("姓名:"+name+",年龄:"+age+",体重:"+weight);
    }
}
